#-------------------------------------------------
#
# Project created by QtCreator 2011-01-26T20:46:28
#
#-------------------------------------------------

QT       += core gui dbus sql network

TARGET = qcarpc
TEMPLATE = app
INCLUDEPATH += /usr/include

SOURCES += main.cpp\
        mainwindow.cpp \
    analogtv/analogtv.cpp \
    videowidget.cpp \
    player/pllist.cpp \
    player/player.cpp \
    player/fsys.cpp \
    radio/radiofunc.cpp \
    radio/radio.cpp \
    navi.cpp \
    configure/configure.cpp \
    configure/autvfmset.cpp \
    handsfree/handsfree.cpp \
    configure/hfsset.cpp \
    handsfree/phonebook.cpp \
    configure/general.cpp \
    qcarpcdialog.cpp \
    freessm/src/TransmissionDialog.cpp \
    freessm/src/SSMprotocol2_ID.cpp \
    freessm/src/SSMprotocol2_def_en.cpp \
    freessm/src/SSMprotocol2_def_de.cpp \
    freessm/src/SSMprotocol2.cpp \
    freessm/src/SSMprotocol1.cpp \
    freessm/src/SSMprotocol.cpp \
    freessm/src/SSMP2communication_core.cpp \
    freessm/src/SSMP2communication.cpp \
    freessm/src/SSMP1communication_procedures.cpp \
    freessm/src/SSMP1communication.cpp \
    freessm/src/SSMP1base.cpp \
    freessm/src/SSM1definitionsInterface.cpp \
    freessm/src/SerialPassThroughDiagInterface.cpp \
    freessm/src/libFSSM.cpp \
    freessm/src/J2534DiagInterface.cpp \
    freessm/src/FreeSSM.cpp \
    freessm/src/EngineDialog.cpp \
    freessm/src/CUinfo_Transmission.cpp \
    freessm/src/CUinfo_Engine.cpp \
    freessm/src/CUcontent_sysTests.cpp \
    freessm/src/CUcontent_MBsSWs_tableView.cpp \
    freessm/src/CUcontent_MBsSWs.cpp \
    freessm/src/CUcontent_DCs_transmission.cpp \
    freessm/src/CUcontent_DCs_engine.cpp \
    freessm/src/CUcontent_DCs_abstract.cpp \
    freessm/src/CUcontent_Adjustments.cpp \
    freessm/src/ControlUnitDialog.cpp \
    freessm/src/ClearMemoryDlg.cpp \
    freessm/src/AddMBsSWsDlg.cpp \
    freessm/src/ActuatorTestDlg.cpp \
    freessm/src/AbstractDiagInterface.cpp \
    freessm/src/About.cpp \
    configure/freessmcfg.cpp \
    freessm/src/linux/TimeM.cpp \
    freessm/src/linux/serialCOM.cpp \
    freessm/src/linux/J2534_API.cpp \
    freessm/src/tinyxml/tinyxmlparser.cpp \
    freessm/src/tinyxml/tinyxmlerror.cpp \
    freessm/src/tinyxml/tinyxml.cpp \
    freessm/src/tinyxml/tinystr.cpp \
    configure/bluez/manageragent.cpp \
    configure/bluez/manager.cpp \
    configure/bluez/device.cpp \
    configure/bluez/agent.cpp \
    configure/bluez/adapter.cpp \
    handsfree/syncmlbt.cpp \
    dvbt/dvbt.cpp \
    gstengine.cpp \
    screensaverdeactivator.cpp \
    poweroff.cpp \
    gpsinterface.cpp \
    speechengine.cpp \
    mixer/mixer.cpp \
    configure/netpower/netpower.cpp \
    configure/powerconf.cpp \
    udiskinterface.cpp \
    player/cueparser.cpp \
    poweroffnotifer.cpp


HEADERS  += mainwindow.h \
    analogtv/analogtv.h \
    videowidget.h \
    player/pllist.h \
    player/player.h \
    player/fsys.h \
    radio/radiofunc.h \
    radio/radio.h \
    navi.h \
    configure/configure.h \
    configure/autvfmset.h \
    handsfree/handsfree.h \
    configure/hfsset.h \
    handsfree/phonebook.h \
    configure/general.h \
    configure/freessmcfg.h \
    qcarpcdialog.h \
    freessm/src/TransmissionDialog.h \
    freessm/src/SSMprotocol2_ID.h \
    freessm/src/SSMprotocol2_def_en.h \
    freessm/src/SSMprotocol2_def_de.h \
    freessm/src/SSMprotocol2.h \
    freessm/src/SSMprotocol1.h \
    freessm/src/SSMprotocol.h \
    freessm/src/SSMP2communication_core.h \
    freessm/src/SSMP2communication.h \
    freessm/src/SSMP1communication_procedures.h \
    freessm/src/SSMP1communication.h \
    freessm/src/SSMP1base.h \
    freessm/src/SSM1definitionsInterface.h \
    freessm/src/SerialPassThroughDiagInterface.h \
    freessm/src/libFSSM.h \
    freessm/src/Languages.h \
    freessm/src/J2534DiagInterface.h \
    freessm/src/J2534.h \
    freessm/src/FreeSSM.h \
    freessm/src/EngineDialog.h \
    freessm/src/CUinfo_Transmission.h \
    freessm/src/CUinfo_Engine.h \
    freessm/src/CUcontent_sysTests.h \
    freessm/src/CUcontent_MBsSWs_tableView.h \
    freessm/src/CUcontent_MBsSWs.h \
    freessm/src/CUcontent_DCs_transmission.h \
    freessm/src/CUcontent_DCs_engine.h \
    freessm/src/CUcontent_DCs_abstract.h \
    freessm/src/CUcontent_Adjustments.h \
    freessm/src/ControlUnitDialog.h \
    freessm/src/ClearMemoryDlg.h \
    freessm/src/AddMBsSWsDlg.h \
    freessm/src/ActuatorTestDlg.h \
    freessm/src/AbstractDiagInterface.h \
    freessm/src/About.h \
    freessm/src/linux/TimeM.h \
    freessm/src/linux/serialCOM.h \
    freessm/src/linux/J2534_API.h \
    freessm/src/tinyxml/tinyxml.h \
    freessm/src/tinyxml/tinystr.h \
    configure/bluez/types.h \
    configure/bluez/manageragent.h \
    configure/bluez/manager.h \
    configure/bluez/device.h \
    configure/bluez/agent.h \
    configure/bluez/adapter.h \
    handsfree/syncmlbt.h \
    dvbt/dvbt.h \
    gstengine.h \
    gstcallback.h \
    screensaverdeactivator.h \
    poweroff.h \
    naviX11.h \
    gpsinterface.h \
    speechengine.h \
    mixer/mixer.h \
    configure/netpower/netpower.h \
    configure/powerconf.h \
    udiskinterface.h \
    player/cueparser.h \
    poweroffnotifer.h


FORMS    += mainwindow.ui \
    analogtv/analogtv.ui \
    videowidget.ui \
    player/pllist.ui \
    player/player.ui \
    player/fsys.ui \
    radio/radio.ui \
    configure/configure.ui \
    configure/autvfmset.ui \
    handsfree/handsfree.ui \
    configure/hfsset.ui \
    handsfree/phonebook.ui \
    configure/general.ui \
    configure/freessmcfg.ui \
    freessm/ui/FreeSSM.ui \
    freessm/ui/CUinfo_Transmission.ui \
    freessm/ui/CUinfo_Engine.ui \
    freessm/ui/CUcontent_sysTests.ui \
    freessm/ui/CUcontent_MBsSWs_tableView.ui \
    freessm/ui/CUcontent_MBsSWs.ui \
    freessm/ui/CUcontent_DCs_transmission.ui \
    freessm/ui/CUcontent_DCs_engine.ui \
    freessm/ui/CUcontent_Adjustments.ui \
    freessm/ui/ControlUnitDialog.ui \
    freessm/ui/AddMBsSWsDlg.ui \
    freessm/ui/ActuatorTestDlg.ui \
    freessm/ui/About.ui \
    dvbt/dvbt.ui \
    poweroff.ui \
    mixer/mixer.ui \
    configure/powerconf.ui


RESOURCES += \
    res.qrc \

LIBS += -lX11\
        -ltag\
        -lgstreamer-0.10\
        -lgstinterfaces-0.10\
        -lgstapp-0.10\
        -lsyncml\
        -lbluetooth\
        -lgps\
        -lusb-1.0

TRANSLATIONS = FreeSSM_en.ts \
               FreeSSM_de.ts

QMAKE_EXTRA_TARGETS += translation

DEFINES += TIXML_USE_STL
# Add pre-processor-define if we compile as debug:
CONFIG(debug, debug|release): DEFINES += __FSSM_DEBUG__ __SERIALCOM_DEBUG__ __J2534_API_DEBUG__

CONFIG += link_pkgconfig
PKGCONFIG += gstreamer-0.10 \
             libsyncml-3.0

# disable gcse-optimization (regressions with gcc-versions >= 4.2)
QMAKE_CXXFLAGS += -fno-show-column -fno-gcse -ffriend-injection -fpermissive

OTHER_FILES += \
    freessm/src/tinyxml/readme.txt \
    freessm/README.txt \
    freessm/LICENCE.txt \
    LICENCE.txt
